<!DOCTYPE html>
<html>
<head>
<title>Install find unused styles javascript</title>
<style type="text/css">
    .new{
        background: white;
    }
</style>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body>
<a href="javascript:" class="old">Install find unused styles javascript</a>
<script type="text/javascript">
        $.get("find_unused_styles.user.js", function(data){
            var no_comments = data.replace(/(\/\/.*\n)/g, "");
            var no_spaces = no_comments.replace(/\n\s+/g,"")
            var compiled_script = no_spaces.replace(/\n/g,"").replace(/(\\')/g, '"');
            $("a").attr("href", "javascript:(function(){" + compiled_script + "})()");
        }, "text");
</script>
</body>
</html>